﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Directory;

namespace Nop.Data.Mapping.Directory
{
    public partial class ProvinceCityMap : EntityTypeConfiguration<ProvinceCity>
    {
        public ProvinceCityMap()
        {
            this.ToTable("ProvinceCity");
            this.HasKey(pc => pc.Id);
            this.Property(pc => pc.Name).IsRequired().HasMaxLength(50);
            this.Property(pc => pc.Pids).HasMaxLength(100);
        }
    }
}
